<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
+ path + "/";
%>
<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title>注册</title>
	
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/style.css">
	<link rel="stylesheet" href="../css/register.css">


</head>
<body>
    <div class="bg"></div>
    <div class="container">
        <div class="line bouncein">
            <div class="xs6 xm4 xs3-move xm4-move">
                <div style="height:150px;"></div>
                <div class="media media-y margin-big-bottom"></div>
               <form action="${pageContext.request.contextPath }/visitor/register.action?action=register" method="post" onsubmit="return submit()"><!--返回true就提交，返回false就不提交-->
                    <div class="panel loginbox">
                        <div class="text-center margin-big padding-big-top">
                            <h1>注册</h1>
                        </div>
                        <div class="panel-body" style="padding:30px; padding-bottom:10px; padding-top:10px;">
                        	<div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="text" class="input input-big" name="email" id="email" placeholder="邮箱" />
                                    <span class="icon icon-user margin-small" ></span>
                                	<span class="spanStyle" id="emailboxSpan" >*</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="password" class="input input-big" name="password" id="password"  placeholder="密码  6~16个字符，区分大小写" />
                                    <span class="icon icon-key margin-small" ></span>
                                    <span class="spanStyle" id="passwordSpan" style="margin-top: 5px;">*</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <div class="field field-icon-right">
                                    <input type="password" class="input input-big" name="repassword" id="repassword"  placeholder="确认密码" />
                                    <span class="icon icon-key margin-small"></span>
                                    <span class="spanStyle" id="repasswordSpan">*</span>
                                </div>
                            </div>
                        </div>
                        <div style="padding:30px;">
                           <input type="submit" id="submit" class="button button-block bg-main text-big input-big" value="注册"   >
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../js/visitor_register.js"></script>

</html>